package com.cdtye.itps.cms.dao.origindata.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.cdtye.common.mybatiscore.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *
 * @author
 * @date 2022-02-11
 */
@ApiModel("2C检测作业查询参数")
@Getter
@Setter
public class JcjcDetectC2JobVo extends BaseVo {

    @ApiModelProperty(value = "线路id")
    private String lineId;

    @ApiModelProperty(value = "来源段code")
    private String unitDeptCode;

    @ApiModelProperty(value ="行别ID")
    private String directionId;

    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("发现开始时间")
    private Date startDate;

    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("发现开始时间")
    private Date beginDate;

    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("发现结束时间")
    private Date endDate;

}